﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading;

namespace MadMediaManager.Services
{
    public class BackgroundThreadService
    {
        public void St()
        {
            BackgroundWorker worker = new BackgroundWorker();

            worker.DoWork += delegate
            {
                // perform long running operation here
            };

            worker.RunWorkerAsync();
        }
        //ThreadPool
    }
}
